<template>
  <div id="tabBox">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="name" label="登入账户" width="180">
      </el-table-column>
      <el-table-column prop="lastip" label="上次登入ip" width="180">
      </el-table-column>
      <el-table-column prop="lasttime" label="上次登入时间"> </el-table-column>
      <el-table-column prop="thisip" label="本次登入ip"> </el-table-column>
      <el-table-column prop="thistime" label="本次登入时间"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          name: "admin",
          lastip: "49.235.165.18",
          lasttime: "2021.07.25",
          thisip: "49.235.165.18",
          thistime: "2021.07.25",
        },
        {
          name: "admin",
          lastip: "49.235.165.18",
          lasttime: "2021.07.25",
          thisip: "49.235.165.18",
          thistime: "2021.07.25",
        },
        {
          name: "admin",
          lastip: "49.235.165.18",
          lasttime: "2021.07.25",
          thisip: "49.235.165.18",
          thistime: "2021.07.25",
        },
      ],
    };
  },
};
</script>

<style lang="less" scoped>
#tabBox {
  margin: 20px 10px;
}
</style>
